<template>
	<view class="container">
		<image :src="url+gyyk" mode="" class="gyyk"></image>
		<view class="aboutBox">
			<view class="aboutFon">名称:<text>{{info.name}}</text></view>
			<view class="aboutFon">地址:<text>{{info.address}}</text></view>
			<view class="aboutFon">联系电话:<text>{{info.phone}}</text></view>
			<view class="aboutFon">简介:
				<view class="jianj" v-html="info.content"></view>
			</view>
		</view>
	</view>
</template>

<script>
	import { getAbout } from '@/api/member.js'
	import config from '@/config'
	export default {
		data() {
			return {
				url:config.baseUrl,
				info:{},
				gyyk:"/uploads/web/gyyk.jpg",
			}
		},
		onLoad() {
			this.getData()
		},
		methods: {
			getData(){
				getAbout().then((res) => {
					this.info = res.data[0]
				  })
			}
		}
	}
</script>

<style>
	
	.container{
		width: 100%;
	}
	
	.aboutBox{
		background: #fff;
		width: 88%;
		margin-top: 20rpx;
		line-height: 65rpx;
		font-size: 28rpx;
		margin: 20rpx auto 0;
		border: 1px solid #6a8473;
		padding: 20rpx;
	}
	
	.aboutFon{
		color: #6a8473;
	}
	
	.aboutFon text{
		margin-left:14rpx;
		font-size: 25rpx;
		color: #000!important;
	}
	
	.jianj{
		font-size: 25rpx;
		color: #000!important;
	}
	
	.gyyk{
		width: 100%;
	}
</style>